import request from '@/plugins/request'

//获取用户列表数据   @/pages/user/userList
export function GetUserList (data) {
 return request({
  url: '/v1/patient/user/list',
  method: 'get',
  params: data
 })
}

//获取就诊人数据   @/pages/user/patient
export function GetPatientList (data) {
 return request({
  url: '/v1/patient/patient/list',
  method: 'get',
  params: data
 })
}

//获取预约列表数据   @/pages/user/make
export function GetMakeList (data) {
 return request({
  url: '/v1/patient/appointment/list',
  method: 'get',
  params: data
 })
}


//glo-check组件中接口
//获取左侧类别   @/components/gloCom/gloCheck.vue
export function GetImgClassList (data) {
 return request({
  // url: '/v1/base/file/images-list',
  url: '/v1/base/category/index',
  method: 'get',
  params: data
 })
}

//获取右侧具体图片   @/components/gloCom/gloCheck.vue
export function GetSingleImgList (data) {
 return request({
  // url: '/v1/base/file/images-list',
  url: '/v1/base/file/images-list',
  method: 'get',
  params: data
 })
}



//设置==》首页设置下面接口
export function GetNavigation () {
 return request({
  // url: '/v1/base/file/images-list',
  url: '/v1/base/navbar/navbar-select',
  method: 'get',
 })
}